/*
 * @(#)RegistryResponseTransformerProducer.java
 * Date 2013-09-25
 * Version 1.0
 * Author Jim Horner
 * Copyright (c)2012
 */


package us.hornerscorners.lamppost.registry.inject;

import javax.enterprise.inject.Produces;

import us.hornerscorners.lamppost.registry.constant.ErrorCode;

import us.hornerscorners.lamppost.registry.transformer.xds.RegistryResponseTypeTransformer;


/**
 * Class description
 *
 *
 * @version        v1.0, 2013-09-25
 * @author         Jim Horner
 */
public class RegistryResponseTransformerProducer {

    /**
     * Method description
     *
     *
     * @return
     */
    @Produces
    @RegistryTarget
    public RegistryResponseTypeTransformer produceRegistryResponse() {

        return new RegistryResponseTypeTransformer(ErrorCode.XDSRegistryError);
    }
}
